package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.response.BaseBean;
import sz.szsmk.citizencard.model.network.bean.response.QueryBusRouteRes;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/5/22 15:42
 * description:
 */
public interface IRealTimeLineContract {

    interface IRealTimeLinePresenter<T extends IBaseContact.IBaseView>
            extends IBaseContact.IBasePresenter {
        void getRealLineData(String lineGuid, String line_guid);

        void cancelCollec(String line_guid, String line_name);

        void addCollec(String line_guid, String line_name);
    }

    interface IRealTimeLineView extends IBaseContact.IBaseView {

        void getRealLineDataFail();

        void getRealLineDataSucc(QueryBusRouteRes response);

        void addCollecFail(BaseBean response);

        void addCollecSucc(BaseBean response);

        void cancelCollecFail(BaseBean response);

        void cancelCollecSucc(BaseBean response);
    }


}
